<li class="attachment clearfix ui-corner-all">
    <div class="move">
        <span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
    </div>
    <div class="body">
        <div class="misc clearfix">
            <span class="typeName"><?php echo $this->translate('Image');?></span>
            <span class="delete"><?php echo $this->translate('Delete');?></span>
        </div>
        <div class="image">
            <div class="photo"><a href="<?php echo $this->data->photo->middle;?>" rel="gallery"><div><img src="<?php echo $this->data->photo->thumb;?>" /><em></em></div></a></div>
            <div class="title">
                <?php echo $this->translate('Image name');?>: <input type="text" name="image[<?php echo $this->data->attachmentImageId;?>][title]" value="<?php echo $this->data->title;?>" class="ui-corner-all" />
            </div>
            <div class="description"><textarea name="image[<?php echo $this->data->attachmentImageId;?>][description]" class="ui-corner-all"><?php echo $this->data->description;?></textarea></div>
        </div>
        <input type="hidden" name="attachment" value="image_<?php echo $this->data->attachmentImageId;?>" />
    </div>
</li>